package net.nobien.ciexample
{
    import flash.display.Sprite;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    import flash.text.TextField;
    import flash.text.TextFieldAutoSize;
    
    public class CIExample extends Sprite
    {
        public function CIExample()
        {
            stage.align = StageAlign.TOP_LEFT;
            stage.scaleMode = StageScaleMode.NO_SCALE;
            
            var tf:TextField = new TextField();
            tf.x = tf.y = 20;
            tf.autoSize = TextFieldAutoSize.LEFT;
            tf.text = "Hello world! From CIExample!";
            addChild( tf );
        }
    }
}
